﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;



public partial class vp_Billing_StockVariance : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        GridView1.DataSource = GetTable();
        GridView1.DataBind();
    }



    private DataTable GetTable()
    {

        DataTable dtbl1 = new DataTable();

        dtbl1.Columns.Add("SNo", typeof(int));
        dtbl1.Columns.Add("Order No", typeof(string));
        dtbl1.Columns.Add("User Name", typeof(string));
        dtbl1.Columns.Add("User Type", typeof(string));
        dtbl1.Columns.Add("Category Code", typeof(string));
        dtbl1.Columns.Add("Sub	Category Code", typeof(string));
        dtbl1.Columns.Add("Tag No", typeof(string));
        dtbl1.Columns.Add("Courier Name", typeof(string));
        dtbl1.Columns.Add("AWB No", typeof(string));
        dtbl1.Columns.Add("Courier Date", typeof(string));


        dtbl1.Rows.Add(1, "OR00001", "User Name1", "User", "Category01", "SubCategory01", "Tag001", "Professional", "AWB001", "10-10-2012");
        dtbl1.Rows.Add(2, "OR00002", "User Name2", "Agent", "Category01", "SubCategory01", "Tag001", "Professional", "AWB001", "10-10-2012");
        dtbl1.Rows.Add(3, "OR00003", "User Name3", "User", "Category01", "SubCategory01", "Tag001", "Professional", "AWB001", "10-10-2012");
        dtbl1.Rows.Add(4, "OR00004", "User Name4", "Agent", "Category01", "SubCategory01", "Tag001", "Professional", "AWB001", "10-10-2012");


        return dtbl1;
    }
}






